Page({
  data: {
    imgUrls: [
      'http://img02.tooopen.com/images/20150928/tooopen_sy_143912755726.jpg',
      'http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg',
      'http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg'
    ],
    indicatorDots: true,
    autoplay: true,
    interval: 2000,
    duration: 2000,
    arrList: {
            "tabContentLst": [
                {
                    "img": "http://dimg06.c-ctrip.com/images/100k0800000038exo1713_C_500_280.jpg",
                    "prdNme": "沙巴7日5晚自由行(5钻)·【海岛过年畅享季】5星丝绸麦哲伦 赠接机",
                    "price": {
                        "amt": 3705,
                        "oprice": 5999
                    },
                    "disct": 6.2,
                    "prdLnk": "http://taocan.ctrip.com/freetravel/p2837599s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "五星酒店享受，4星优惠价格",
                    "isHot": 1,
                    "Seat": "仅剩6席"
                },
                {
                    "img": "http://dimg04.c-ctrip.com/images/300n0a0000004r18o1FA1_C_500_280.jpg",
                    "prdNme": "马尔代夫班度士岛6日4晚自由行(4钻)·双11秒杀 4晚连住 含早晚餐 快艇+含接送",
                    "price": {
                        "amt": 5999,
                        "oprice": 13712
                    },
                    "disct": 4.4,
                    "prdLnk": "http://vacations.ctrip.com/freetravel/p3344952s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "上海直飞  4晚标准房 早餐 快艇",
                    "isHot": 1,
                    "Seat": "席位充足"
                },
                {
                    "img": "http://dimg04.c-ctrip.com/images/vacations/images2/108/438/438_43_C_500_280.jpg",
                    "prdNme": "巴厘岛7日5晚自由行(5钻)·【淡季大促】东航直飞 双五星酒店 ",
                    "price": {
                        "amt": 7455,
                        "oprice": 9999
                    },
                    "disct": 7.5,
                    "prdLnk": "http://taocan.ctrip.com/freetravel/p1011718168s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "国庆班期早鸟特卖",
                    "isHot": 1,
                    "Seat": "席位充足"
                },
                {
                    "img": "http://dimg07.c-ctrip.com/images/1002060000001o2634FBB_C_500_280.jpg",
                    "prdNme": "西班牙+葡萄牙11日跟团游(4钻)·全四星+巴塞罗那自由活动+购物村+拒签退",
                    "price": {
                        "amt": 8499,
                        "oprice": 13899
                    },
                    "disct": 6.1,
                    "prdLnk": "http://vacations.ctrip.com/grouptravel/p13449664s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "限时特惠，售完即止！",
                    "isHot": 1,
                    "Seat": "席位充足"
                },
                {
                    "img": "http://dimg06.c-ctrip.com/images/100n070000002syfmDF08_C_500_280.jpg",
                    "prdNme": "越南芽庄6日5晚半自助游(5钻)·年底出游划算之选！海边5星酒店连住 赠出游",
                    "price": {
                        "amt": 2999,
                        "oprice": 5999
                    },
                    "disct": 5,
                    "prdLnk": "http://vacations.ctrip.com/grouptravel/p13721039s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "有效利用年假的绝佳机会！",
                    "isHot": 1,
                    "Seat": "仅剩10席"
                },
                {
                    "img": "http://dimg04.c-ctrip.com/images/300k0a0000004qzgdB1E6_C_500_280.jpg",
                    "prdNme": "泰国普吉岛6日4晚跟团游(5钻)·无自费★国五酒店 星月冒险岛 1天自由+SPA",
                    "price": {
                        "amt": 3001,
                        "oprice": 4699
                    },
                    "disct": 6.4,
                    "prdLnk": "http://vacations.ctrip.com/grouptravel/p12918940s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "1天自由，赠送大礼包！",
                    "isHot": 1,
                    "Seat": "席位充足"
                },
                {
                    "img": "http://dimg04.c-ctrip.com/images/vacations/images2/64/444/444_753_s32177_C_500_280.jpg",
                    "prdNme": "毛里求斯8日5晚自由行·双11预售 立减500  11月尾单 最后余位",
                    "price": {
                        "amt": 7078,
                        "oprice": 9900
                    },
                    "disct": 7.1,
                    "prdLnk": "http://taocan.ctrip.com/freetravel/p55132s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "双11预售，立减500",
                    "isHot": 1,
                    "Seat": "席位充足"
                },
                {
                    "img": "http://dimg06.c-ctrip.com/images/100m070000002syz615D2_C_500_280.jpg",
                    "prdNme": "韩国首尔5日4晚半自助游(3钻)·A线3日free B线升级4 钻酒店 C线特惠预售",
                    "price": {
                        "amt": 2500,
                        "oprice": 3899
                    },
                    "disct": 6.4,
                    "prdLnk": "http://vacations.ctrip.com/grouptravel/p2028668s2.html#ctm_ref=vdeals_api_cindex",
                    "promo": "“跟着习大大去旅游”",
                    "isHot": 1,
                    "Seat": "席位充足"
                }
            ],
            "catgId": 101,
            "dptID": 2,
            "adLst": [
                {
                    "img": "http://images3.c-ctrip.com/dj/201504/zy/tmh0427_4_220x330.png",
                    "url": "http://vacations.ctrip.com/deals#ctm_ref=vdeals_cindex_ad1",
                    "alt": "你不可不看的旅游特价频道！"
                }
            ]
        }
  },
  onLoad: function(){
   // http://trains.ctrip.com/TrainBooking/Ajax/SearchTrainHandler.ashx?Action=getHotHotel
    // wx.request({
    //   url: 'introduce.json', //仅为示例，并非真实的接口地址
    //   method: '',
    //   header: {
    //       'Content-Type': 'json'
    //   },
    //   success: function(res) {
    //     console.log(res.data,1)
    //   },
    //   fail: function(){
    //     console.log(111)
    //   },
    //   complete: function(res) {
    //     console.log("123232")
    //   }
    // })
    
  }
})